package com.shutuo.callnumtwofire;


import com.instwall.callbase.tool.LogUtil;
import com.instwall.net.ApiBase;
import com.instwall.net.ErrorHandler;
import com.instwall.net.NetCore;
import com.instwall.net.ResultParser;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class TwoFireApi extends ApiBase<String> {

    private String json;
    public TwoFireApi(String json){
        super("get_erweihuo_call_num_list" );
        this.json = json;
    }

    @Nullable
    @Override
    protected String requestApi(@NotNull NetCore netCore) throws Throwable {
        netCore.requestApi("GC", "/dsadm/api/json", "get_erweihuo_call_num_list", json, new ResultParser<String>() {
            @Override
            public String parse(String string) throws Throwable {
                LogUtil.LogI(null,TFConfig.TAG+"TwoFireApi get :" +string);
                return null;
            }
        }, ErrorHandler.DEFALT_NODE_ERROR);
        return null;
    }

}
